package com.example.wenliangjiudian.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Menu {

    private Integer id;
    private String name;
    private String url;
    private String icon;
    private Boolean hidden;
    private Integer menuOrder;

    private List<Menu> list;//子菜单
}
